.floor-layout {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: move;
}
/deep/ {
  .mask-floor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
  }
  .mask-bg-floor {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
  }
  .mask-btn-floor {
    position: absolute;
    z-index: 4;
    top: 5px;
    right: 5px;
    font-size: 12px;
    color: rgb(0, 0, 0);
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    padding: 3px 5px;
    outline: none;
    cursor: pointer;
    &:focus { outline: none }
    .svg-icon { margin-right: 3px }
  }
  .layout-main {
    position: relative;
    width: 100%;
    height: 100%;
    clear: both;
  }
  .layout-item {
    position: relative;
    box-sizing: border-box;
    // overflow: hidden;
    width: 100%;
    height: 100%;
    &:hover .mask-bg-floor { display: block }
    img {
      width: 100%;
      height: 100%;
    }
    .no-image {
      width: 100%;
      height: 100%;
      background: url("") no-repeat center;
      background-size: auto 75%;
    }
  }
  .left, .right {
    width: 50%;
    height: 100%;
    float: left;
  }
  .left .mask-floor { border-right: none }
  .right { float: right }
  .top .mask-floor, .middle .mask-floor { border-bottom: none }
  @mixin layout-item-neighbor {
    .layout-item + .layout-item .mask-floor{ border-left: none }
  }
  // tpl-60 轮播图模块
  .tpl-60 {
    .swiper-container {
      width: 100%;
      height: 100%;
    }
  }
  // tpl-61 图文广告组件
  .tpl-61 {
    .row-img {
      display: flex;
      justify-content: center;
      .row-img-cell {
        flex: 1;
      }
    }
  }
  // tpl-62 标题或间隔性模块
  .tpl-62 {
    height: 40px;
    .layout-item {
      line-height: 40px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      .title-out {
        height: 40px;
      }
    }
  }
  // tpl-63 商品模块/秒杀/团购
  .tpl-63,
  .tpl-67,
  .tpl-68 {
    .layout-main {
      width: unset;
      // display: flex;
      // justify-content: space-around;
      overflow: hidden;
      box-sizing: border-box;
      .goods_box {
        overflow: hidden;
        .card-title {
          padding-top: 10px;
          padding-bottom: 10px;
          line-height: 20px;
        }
      }
      .goods_item {
        position: relative;
        min-height: 50px;
        box-sizing: border-box;
        overflow: hidden;
        background-color: #fff;
        color: #333;
        .goods_pic {
          position: relative;
          .goods_pic_wrap {
            position: relative;
            max-height: 500px;
            overflow: hidden;
            .goods_pic_img {
              position: absolute;
              top: 0;
              left: 0;
              bottom: 0;
              right: 0;
              width: 100%;
              background-position: 50%;
              background-repeat: no-repeat;
              background-size: cover;
            }
          }
          .join_tag {
            position: absolute;
            left: 15px;
            bottom: 50px;
            padding: 0 5px;
            line-height: 16px;
            border-radius: 2px;
            background: rgba(0, 0, 0, 0.5);
            color: #fff;
            font-size: 12px;
          }
        }
        .goods_info {
          position: relative;
          padding: 0 10px;
          .goods_info_title {
            margin: 10px 0 0 0;
            .title {
              margin: 0;
              height: 40px;
              line-height: 20px;
              max-height: 40px;
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              font-size: 14px;
            }
            .goods_info_des {
              margin-top: 5px;
              margin-bottom: 0;
              height: 16px;
              line-height: 16px;
              word-break: break-all;
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
              color: #999;
              font-size: 12px;
            }
          }
          .goods_info_price {
            position: relative;
            width: 100%;
            .price_info {
              display: flex;
              align-items: center;
              align-content: center;
              flex-wrap: wrap;
              padding-right: 25px;
              height: 40px;
              box-sizing: border-box;
              &.center {
                justify-content: center;
                padding-right: 0;
              }
              .sale_price {
                margin-right: 4px;
                height: 16px;
                line-height: 16px;
                word-break: break-all;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                color: #f42424;
                font-size: 16px;
                .price_tag {
                  margin-right: 2px;
                  font-size: 12px;
                }
              }
            }
            .goods_buy_btn {
              position: absolute;
              top: 0;
              right: 0;
            }
          }
        }
      }
      &.row_one {
        .layout_item_box {
          .goods_info_title {
            .title {
              max-height: 20px;
              -webkit-line-clamp: 1;
            }
          }
        }
      }
      &.row_two {
        .layout_item_box {
          float: left;
          width: 50%;
        }
      }
      &.row_three {
        .layout_item_box {
          float: left;
          width: 33.3333%;
        }
      }
      &.row_list {
        .goods_pic {
          float: left;
          width: 145px;
          height: 145px;
          min-height: auto;
          margin-right: 10px;
        }
        .goods_info {
          height: 145px;
          margin-left: 145px;
          padding: 0 10px 0 0;
          overflow: hidden;
          .goods_info_price {
            position: absolute;
            bottom: 0;
            left: 0;
            margin: 0;
            .price_info {
              padding-right: 38px;
            }
          }
        }
      }
      &.row_hybrid {
        .layout_item_box {
          float: left;
          width: 50%;
          &:nth-child(3n+1) {
            width: 100%;
          }
          &:nth-child(3n),
          &:nth-child(3n+2) {
            .goods_tag_title {
              display: none;
            }
          }
          .goods_info_title {
            .title {
              max-height: 20px;
              -webkit-line-clamp: 1;
            }
          }
        }
      }
    }
  }
  // tpl-64 商品搜索
  .tpl-64 {
    .layout-main {
      .search_box {
        .search_box_view {
          display: flex;
          align-items: center;
          padding: 5px 15px;
          width: 100%;
          box-sizing: border-box;
          .floor_search {
            flex: 1;
            display: flex;
            align-items: center;
            box-sizing: border-box;
            .floor_search_filed {
              flex: 1;
              display: flex;
              align-items: center;
              border-radius: 4px;
              &_circle {
                border-radius: 20px;
                overflow: hidden;
              }
              i {
                margin-left: 10px;
                color: #666;
                font-size: 16px;
              }
              .van-cell {
                flex: 1;
                display: flex;
                padding: 0 10px;
                width: 100%;
                height: 40px;
                line-height: 24px;
                box-sizing: border-box;
                background: 0 0;
                color: #333333;
                font-size: 14px;
                &_value {
                  flex: 1;
                  display: flex;
                  align-items: center;
                }
              }
              .van-field {
                &_body {
                  flex: 1;
                  display: flex;
                  align-items: center;
                }
                &_control {
                  display: block;
                  padding: 0;
                  margin: 0;
                  width: 100%;
                  min-width: 0;
                  border: 0;
                  resize: none;
                  text-align: left;
                  background-color: transparent;
                }
              }
            }
          }
        }
      }
    }
  }
  // tpl-65 辅助间隔
  .tpl-65 {
    .layout-main {
      .space_line {
        display: flex;
        justify-content: center;
        align-items: center;
        .space_border {
          flex: 1;
          margin: auto;
          height: 1px;
          border: none;
          border-top: 1px solid #e6e6e6;
          box-sizing: border-box;
        }
      }
    }
  }
  // tpl-66 优惠券模块
  .tpl-66 {
    /deep/ .layout-main {
      .coupon_row {
        position: relative;
        padding: 10px 15px;
        line-height: 0;
        box-sizing: border-box;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        .coupon_cell {
          display: inline-block;
          position: relative;
          width: 135px;
          height: 90px;
          box-sizing: border-box;
          text-align: center;
          overflow: hidden;
          color: #fff;
          .back_style {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
          }
          &::before,
          &::after {
            content: '';
            position: absolute;
            background-size: 100% 100%;
          }
          & + .coupon_cell {
            margin-left: 10px;
          }
          .coupon_val {
            display: flex;
            justify-content: center;
            align-items: baseline;
            position: relative;
            line-height: 33px;
            font-size: 24px;
            font-weight: 500;
            .val_tag {
              margin-left: 3px;
              line-height: 20px;
              font-size: 12px;
            }
          }
          .coupon_term {
            position: relative;
            line-height: 17px;
            opacity: .8;
            font-size: 12px;
          }
          &.color_1 {
            .back_style {
              background-color: #FF2437;
            }
          }
          &.color_2 {
            .back_style {
              background-color: #FE933D;
            }
          }
          &.color_3 {
            color: #FF2437;
            .back_style {
              background-color: #FBD9BC;
            }
          }
          &.color_4 {
            .back_style {
              background-color: #7A2CF7;
            }
          }
        }
        &.style_1 {
          .coupon_cell {
            padding: 0 10px;
            &::before,
            &::after {
              top: 0;
              width: 10px;
              height: 100%;
            }
            &::before {
              left: 0;
            }
            &::after {
              right: 0;
            }
            .layout-item {
              padding: 20px 0;
            }
            &.color_1 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_2 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_3 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_4 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
          }
        }
        &.style_2 {
          .coupon_cell {
            border-radius: 2px;
            .layout-item {
              padding: 20px 0;
            }
            &.color_1 {
              background-color: #FF2437;
            }
            &.color_2 {
              background-color: #FE933D;
            }
            &.color_3 {
              background-color: #FBD9BC;
            }
            &.color_4 {
              background-color: #7A2CF7;
            }
          }
        }
        &.style_3 {
          .coupon_cell {
            padding: 10px 0;
            &::before,
            &::after {
              left: 0;
              width: 100%;
              height: 10px;
            }
            &::before {
              top: 0;
            }
            &::after {
              bottom: 0;
            }
            .layout-item {
              padding: 10px 0;
            }
            &.color_1 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_2 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_3 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_4 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
          }
        }
        &.style_4 {
          .coupon_cell {
            padding: 0 10px;
            &::before,
            &::after {
              top: 0;
              width: 10px;
              height: 100%;
            }
            &::before {
              left: 0;
            }
            &::after {
              right: 0;
            }
            .layout-item {
              padding: 20px 0;
            }
            &.color_1 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_2 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_3 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
            &.color_4 {
              &::before {
                background-image: url();
              }
              &::after {
                background-image: url();
              }
            }
          }
        }
      }
    }
  }
  // tpl-67 秒杀
  .tpl-67,
  .tpl-68 {
    .layout-main {
      .goods_tag {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 0 15px;
        width: 100%;
        height: 24px;
        line-height: 24px;
        box-sizing: border-box;
        background: linear-gradient(to left, #FF3344, #FD8424);
        color: #fff;
        &_title {
          font-size: 20px;
          font-weight: 700;
        }
        &_countdown {
          &_text {
            height: 10px;
            font-size: 10px;
            line-height: 10px;
            opacity: .7;
          }
        }
        .goods_countdown {
          display: inline-block;
          &_hour,
          &_minute,
          &_second {
            padding: 0 2px;
            margin: 0;
            line-height: 12px;
            text-align: center;
            background: 0 0;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
          }
          &_text {
            display: block;
            height: 12px;
            line-height: 12px;
            text-align: center;
            transform: scale(0.8);
            color: #fff;
            font-size: 12px;
          }
        }
      }
      .title_tag {
        display: inline-block;
        height: 16px;
        padding: 0 6px;
        line-height: 16px;
        border-radius: 8px;
        background-color: #ffdfdf;
        color: #f44;
        font-size: 12px;
        font-weight: 400;
      }
      .goods_info_title_expand {
        word-break: break-all;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        margin: 4px 0;
        line-height: 14px;
        color: #999;
        font-size: 12px;
      }
      &.row_one .layout_item_box,
      &.row_hybrid .layout_item_box:nth-child(3n+1) {
        .goods_tag {
          height: 40px;
          line-height: 40px;
          &_title {
            display: inline-block;
          }
          &_countdown {
            float: right;
            height: 40px;
            line-height: 20px;
            font-size: 10px;
            &_text {
              display: block;
              margin: 4px 0 2px;
              height: 14px;
              line-height: 14px;
              text-align: left;
              opacity: .6;
              font-size: 10px;
            }
            .goods_countdown {
              &_text {
                display: inline-block;
                margin: 0 2px;
                line-height: 12px;
              }
            }
          }
        }
        .goods_countdown {
          &_text {
            display: inline-block;
            margin: 0 2px;
            line-height: 12px;
          }
        }
      }
      &.row_two .layout_item_box,
      &.row_three .layout_item_box,
      &.row_list .layout_item_box,
      &.row_hybrid .layout_item_box:nth-child(3n), 
      &.row_hybrid .layout_item_box:nth-child(3n+2) {
        .join_tag {
          left: 10px;
          bottom: 34px;
        }
        .goods_tag {
          padding: 0 10px; 
          height: auto;       
          &_countdown {
            display: flex;
            flex-wrap: wrap;
            -webkit-box-pack: justify;
            -moz-box-pack: justify;
            justify-content: space-between;
            height: auto;
            &_text {
              display: block;
              height: 24px;
              line-height: 24px;
            }
          }
          .goods_countdown {
            &_hour,
            &_minute,
            &_second {
              padding: 0 2px;
              margin: 0;
              line-height: 12px;
              text-align: center;
              vertical-align: middle;
              background: 0 0;
              color: #fff;
              font-size: 12px;
              font-weight: 700;
            }
            &_text {
              display: inline-block;
              margin: 0 2px;
              line-height: 12px;
              vertical-align: middle;
            }
          }
        }
      }
      &.row_three .layout_item_box {
        .join_tag {
          bottom: 10px;
        }
      }
    }
  }
  // tpl-69 秒杀组件
  .tpl-69 {
    /deep/ .layout-main {
      .flash_sale {
        // padding: 15px;
        border-radius: 10px;
        overflow: hidden;
        background: #ff3344;
        .flash_head {
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 7px 10px 5px 10px;
        }
        .head_name {
          margin-right: 10px;
          line-height: 21px;
          color: #333;
          font-size: 15px;
          font-weight: 700;
        }
        .countdown {
          flex: 1;
          display: flex;
          align-items: center;
          line-height: 18px;
          color: #ff3344;
          .countdown_cell {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 18px;
            height: 18px;
            border-radius: 2px;
            background: #FFF;
            color: #ff3344;
            font-size: 12px;
          }
          .countDown_text {
            margin: 0 4px;
            color: #FFF;
          }
        }
        .show_more {
          padding: 4px 10px 4px 18px;
          line-height: 15px;
          border-radius: 10px;
          background-color: #FFF;
          color: #ff3344;
          font-size: 12px;
        }
        .flash_goods {
          display: flex;
          justify-content: flex-start;
          box-sizing: border-box;
          overflow-x: auto;
          overflow-y: hidden;
          .flash_cell {
            padding: 6px;
            margin-left: 8px;
            margin-top: 8px;
            margin-bottom: 8px;
            width: 100px;
            border-radius: 5px;
            background-color: #FFF;
            box-sizing: border-box;
            .goods_pic {
              width: 90px;
              height: 110px;
              border-radius: 5px;
              img {
                width: 100%;
                height: 100%;
              }
            }
            .goods_name {
              text-overflow: -o-ellipsis-lastline;
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              line-clamp: 2;
              -webkit-box-orient: vertical;
              margin-top: 4px;
              color: #333;
              font-size: 12px;
              font-weight: bold;
            }
            .goods_details {
              display: flex;
              align-items: center;
              justify-content: space-between;
              margin-top: 4px;
            }
            .sale_price {
              color: #ff3344;
              font-size: 14px;
            }
            .old_price {
              display: inline-block;
              text-decoration: line-through;
              margin-left: -5px;
              margin-bottom: -5px;
              color: #999;
              font-size: 12px;
              transform: scale(.7);
            }
            .second {
              padding: 4px;
              border-radius: 50%;
              text-align: center;
              color: #FFF;
              font-size: 12px;
              transform: scale(.9);
              background: linear-gradient(right,#E83227,#FD7F26); 
              background: -ms-linear-gradient(right,#E83227,#FD7F26); 
              background: -webkit-linear-gradient(right,#E83227,#FD7F26); 
              background: -o-linear-gradient(right,#E83227,#FD7F26); 
              background: -moz-linear-gradient(right,#E83227,#FD7F26);
            }
            // & + .flash_cell {
            //   margin-left: 12px;
            // }
          }
        }
      }
    }
    .row_list {
      border-radius: 10px;
      overflow: hidden;
      .flash_sale {
        .flash_head {
          display: flex;
          align-items: center;
          height: 55px;
          background: linear-gradient(to right,#f68812,#e83227);
        }
        .head_name_e {
          position: relative;
          img {
            margin-top: 10px;
            margin-left: 10px;
            width: 30px;
            height: 35px;
          }
          &::before {
            position: absolute;
            content: '';
            left: 70px;
            top: 10px;
            width: 1px;
            height: 35px;
            background-color: #fff;
          }
        } 
        .countdown {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          margin-left: 30px;
          .seckill-time {
            padding-top: 5px;
            span {
              display: block;
              padding: 0px 10px;
              text-align: center;
              &:first-child {
                font-size: 16px;
                color: white;
              }
              &:last-child {
                font-size: 12px;
                color: white;
              }
            }
          }
        }
      }
      .flash_goods {
        .flash_cell .layout-item{
          display: flex;
          justify-content: flex-start;
          padding: 20px 10px 10px 10px;
          border-bottom: 1px solid #fff;
          .goods_pic {
            width: 90px;
            height: 90px;
          }
          .goods_details {
            flex: 1;
            padding-left: 8px;
            min-width: 0;
            .goods_name {
              padding-top: 6px;
              text-overflow: ellipsis;
              white-space: nowrap;
              overflow: hidden;
            }
            .goods_data {
              display: flex;
              justify-content: space-between;
              align-items: center;
              margin-top: 8px;
            }
            .goods_bar {
              position: relative;
              width: 90px;
              height: 16px;
              border-radius: 20px;
              background-color: #fcaea9;
              overflow: hidden;
              .goods_bar_in {
                position: absolute;
                width: 70%;
                height: 100%;
                border-radius: 20px;
                background-color: #e83227;
              }
              .goods_bar_text {
                position: absolute;
                top: 2px;
                right: 0px;
                color: #fff;
                font-size: 12px;
              }
            }
            .robbed {
              color: #A5A5A5;
              font-size: 12px;
            }
            .limit {
              color: #e83227;
              font-size: 12px;
            }
            .goods_price {
              display: flex;
              justify-content: space-between;
              align-items: center;
              margin-top: 8px;
              .seckill_price {
                .price {
                  color: #e83227;
                  font-size: 18px;
                }
                .old_price {
                  margin-left: 6px;
                  text-decoration: line-through;
                  font-size: 12px;
                  color: #a5a5a5;
                }
              }
              button {
                width: 90px;
                height: 34px;
                border: none;
                border-style: none;
                border-radius: 20px;
                text-align: center;
                color: #FFF;
                font-size: 16px;
                background: linear-gradient(right,#E83227,#FD7F26); 
                background: -ms-linear-gradient(right,#E83227,#FD7F26); 
                background: -webkit-linear-gradient(right,#E83227,#FD7F26); 
                background: -o-linear-gradient(right,#E83227,#FD7F26); 
                background: -moz-linear-gradient(right,#E83227,#FD7F26);
              }
            }
          }
        }
      }
    }
  }

  // tpl-70 附近门店
  .tpl-70 {
    /deep/ .layout-main {
      padding: 0 15px;
      .near_title {
        padding: 15px 0;
        line-height: 21px;
      }
      .near_item {
        padding: 0 15px;
        border-radius: 5px;
        background: #fff;
        color: #333;
        .shop_msg {
          display: flex;
          padding: 15px 0;
          .shop_logo {
            width: 40px;
            height: 40px;
            border-radius: 5px;
            overflow: hidden;
            img {
              width: 100%;
              height: 100%;
            }
          }
          .shop_info {
            flex: 1;
            padding: 0 5px;
            .name {
              display: block;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              margin-bottom: 5px;
              line-height: 20px;
              font-size: 14px;
              font-weight: 700;
            }
            .delivery {
              display: block;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              font-size: 11px;
            }
          }
          .near {
            text-align: right;
            .near-cell {
              padding: 2px 0;
              line-height: 16px;
              font-size: 12px;
            }
          }
        }
        .pro_row {
          display: flex;
          padding: 0 0 15px 45px;
          line-height: 0;
          box-sizing: border-box;
          white-space: nowrap;
          overflow-x: auto;
          overflow-y: hidden;
          .pro_cell {
            width: 70px;
            line-height: 0;
            text-align: center;
            .goods_pic {
              width: 70px;
              height: 70px;
              border-radius: 5px;
              overflow: hidden;
              img {
                width: 100%;
                height: 100%;
              }
            }
            .sale_price {
              padding-top: 15px;
              line-height: 17px;
              color: #333;
              font-size: 12px;
              font-weight: 700;
            }
            & + .pro_cell {
              margin-left: 20px;
            }
          }
        }
        & + .near_item {
          margin-top: 15px;
        }
      }
    }
  }

  // tpl-71 视屏组件
  .tpl-71 {
    /deep/ .layout-main {
      .video-list {
        overflow: hidden;
        .video-box {
          overflow: hidden;
          .video-source {
            position: relative;
            padding-top: 56.25%;
            width: 100%;
            video {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
            }
            .video-image {
              position: absolute;
              top: 0;
              left: 0;
              bottom: 0;
              right: 0;
              width: 100%;
              background-color: #fff;
              background-position: 50%;
              background-repeat: no-repeat;
              background-size: cover;
            }
          }
          .video-text {
            padding: 9px;
            background: #fff;
            .title_n {
              line-height: 15px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              font-size: 15px;
              & + .title_s,
              & + .time {
                margin-top: 9px;
              }
            }
            .title_s {
              line-height: 14px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              color: #909090;
              font-size: 14px;
              & + .time {
                margin-top: 9px;
              }
            }
            .time {
              line-height: 8px;
              color: #909090;
              font-size: 12px;
            }
          }
        }
        &.row_two {
          .video-item {
            float: left;
            width: 50%;
            .video-text {
              padding: 9px;
              .title_n {
                line-height: 14px;
                font-size: 14px;
                & + .title_s,
                & + .time {
                  margin-top: 8px;
                }
              }
              .title_s {
                line-height: 12px;
                font-size: 12px;
                & + .time {
                  margin-top: 8px;
                }
              }
              .time {
                line-height: 8px;
                font-size: 12px;
              }
            }
          }
        }
      }
    }
  }

  // tpl-72 拼团
  .tpl-72 {
    /deep/ .layout-main {
      .flash_sale {
        // padding: 15px;
        border-radius: 10px;
        overflow: hidden;
        background: #F68812FF;
        .flash_head {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 7px 10px 5px 10px;
        }
        .head_name {
          width: 74px;
          height: 20px;
          margin-right: 10px;
          line-height: 21px;
          color: #333;
          font-size: 15px;
          font-weight: 700;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .countdown {
          display: flex;
          align-items: center;
          padding: 2px 4px;
          margin-left: -110px;
          line-height: 18px;
          border-radius: 4px;
          background-color: #FFF;
          color: #F68812FF;
          font-size: 12px;
          transform: scale(.8);
        }
        .show_more {
          padding: 4px 10px 4px 18px;
          line-height: 16px;
          border-radius: 10px;
          background-color: #FFF;
          color: #F68812FF;
          font-size: 12px;
        }
        .goods {
          display: flex;
          margin: 0px 10px 10px 10px;
          border-radius: 12px;
          background-color: #FFF;
          box-sizing: border-box;
          &-img {
            padding: 10px;
            width: 120px;
            height: 120px;
            img {
              width: 100%;
              height: 100%;
              border-radius: 8px;
            }
          }
          &-card {
            flex: 1;
            min-width: 0; // 就是这行代码，拯救了一切！
            padding: 14px 14px 10px 10px;
          }
          &-name {
            text-overflow: -o-ellipsis-lastline;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            font-size: 13px;
            font-weight: bold;
          }
          &-details {
            margin-top: 5px;
            overflow:hidden;
            white-space:nowrap;
            text-overflow:ellipsis;
            color: #909090;
            font-size: 12px;
          }
          &-tag {
            display: inline-block;
            font-size: 12px;
            span:nth-child(1) {
              padding: 2px 6px;
              border-radius: 2px;
              background-color: #F68812FF;
              color: #FFF;
            }
            span:nth-child(2) {
              padding: 1px 2px;
              border-radius: 2px;
              border: 1px solid #E83227FF;
              color: #E83227FF;
            }
            span:nth-child(3) {
              padding: 1px 2px;
              border-radius: 2px;
              border:1px solid  #F68812FF;
              color: #F68812FF;
            }
          }
          &-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 7px;
            span:nth-child(1) {
              font-size: 18px;
              color: #E83227FF;
            }
            span:nth-child(2) {
              margin-bottom: -8px;
              margin-left: -90px;
              font-size: 12px;
              color: #909090;
              text-decoration: line-through;
              transform: scale(.9);
            }
            span:nth-child(3) {
              padding: 6px 10px;
              border-radius: 16px;
              text-align: center;
              color: #FFF;
              font-size: 14px;
              background: linear-gradient(right,#E83227,#FD7F26); 
              background: -ms-linear-gradient(right,#E83227,#FD7F26); 
              background: -webkit-linear-gradient(right,#E83227,#FD7F26); 
              background: -o-linear-gradient(right,#E83227,#FD7F26); 
              background: -moz-linear-gradient(right,#E83227,#FD7F26);
            }
          }
        }
      }
    }
  }

  // 新人购
  .tpl-74 {
    padding: 10px;
    width: 100%;
    height: 245px;
    background-color: red;
    border-radius: 10px;
    /deep/ .layout-main {
      .flash_sale {
        .flash_head {
          display: flex;
          justify-content: space-between;
          align-items: center;
          .head_name {
            color: #fff;
            font-size: 18px;
            font-weight: bold;
          }
          .countdown {
            padding-left: 6px;
            color: #fff;
            font-size: 12px;
          }
          .head_info {
            display: flex;
            justify-content: flex-start;
            align-items: center;
          }
          .show_more {
            padding: 4px 10px 4px 18px;
            line-height: 16px;
            border-radius: 10px;
            background-color: #FFF;
            color: #ff3344;
            font-size: 12px;
          }
        }
        .flash_goods {
          display: flex;
          justify-content: flex-start;
          box-sizing: border-box;
          margin-top: 8px;
          overflow-x: auto;
          overflow-y: hidden;
          border-radius: 5px;
          background-color: #FFF;
          .flash_cell {
            padding: 4px;
            margin-left: 8px;
            margin-top: 8px;
            width: 100px;
            background-color: #FFF;
            box-sizing: border-box;
            .goods_pic {
              width: 90px;
              height: 100px;
              border-radius: 5px;
              img {
                width: 100%;
                height: 100%;
              }
            }
            .goods_name {
              text-overflow: -o-ellipsis-lastline;
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              line-clamp: 2;
              -webkit-box-orient: vertical;
              margin-top: 4px;
              color: #333;
              font-size: 12px;
              font-weight: bold;
            }
            .goods_details {
              display: flex;
              align-items: center;
              justify-content: space-between;
              margin-top: 4px;
            }
            .sale_price {
              color: #ff3344;
              font-size: 14px;
            }
            .old_price {
              display: inline-block;
              text-decoration: line-through;
              margin-left: -5px;
              margin-bottom: -5px;
              color: #999;
              font-size: 12px;
              transform: scale(.7);
            }
            .add_cart {
              padding: 6px;
              border-radius: 30px;
              text-align: center;
              color: #FFF;
              font-size: 12px;
              transform: scale(.9);
              background: linear-gradient(right,#E83227,#FD7F26); 
              background: -ms-linear-gradient(right,#E83227,#FD7F26); 
              background: -webkit-linear-gradient(right,#E83227,#FD7F26); 
              background: -o-linear-gradient(right,#E83227,#FD7F26); 
              background: -moz-linear-gradient(right,#E83227,#FD7F26);
            }
          }
        }
      }
    }
  }

  // tpl-73 关注公众号
  .tpl-73 {
    /deep/ .layout-main {
      .follow-info {
        flex: 1;
        min-width: 0;
      }
      .follow-info .name {
        line-height: 14px;
        color: #000;
        font-size: 14px;
      }
      .follow-info .desc {
        margin-top: 7px;
        line-height: 10px;
        color: #909090;
        font-size: 10px;
      }
      .follow-btn {
        position: relative;
        margin-left: 5px;
        width: 84px;
        height: 30px;
        line-height: 30px;
        border-radius: 15px;
        text-align: center;
        overflow: hidden;
        color: #e83227;
        font-size: 14px;
      }
      .follow-btn::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 200%;
        height: 200%;
        border: solid 1px #e83227;
        border-radius: 30px;
        box-sizing: border-box;
        transform-origin: 0 0;
        transform: scale(0.5, 0.5);
      }
      .follow-row {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        margin: 0 10px 10px 10px;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        .logo {
          margin-right: 5px;
          width: 40px;
          height: 40px;
          border-radius: 10px;
        }
      }
      .follow-fixed {
        display: flex;
        align-items: center;
        padding: 10px 0;
        background: #ffd9d7;
        color: #e83227;
        .follow-info {
          flex: 1;
          min-width: 0;
          line-height: 15px;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          color: #e83227;
          font-size: 10px;
        }
        .follow-btn {
          width: 60px;
          height: 15px;
          line-height: 15px;
          border-radius: 8px;
          font-size: 10px;
        }
        .follow-btn::before {
          border-radius: 15px;
        }
      }
    }
  }

  // 发现页模块
  .tpl-75 {
    padding: 10px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    .shop-title {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .shop-name {
        font-size: 16px;
      }
      .tap {
        margin-left: 4px;
        padding: 3px 6px;
        border-radius: 4px;
        background-color: #7AC8FF;
        color: #00A0E9;
        font-size: 12px;
      }
    }
    .shop-type {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 4px;
      font-size: 12px;
      color: #A5A5A5;
      .shop-score {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 6px;
        font-size: 12px;
        .shop-evaluate {
          font-size: 12px;
          padding-right: 10px;
          /deep/.el-rate__icon {
            font-size: 12px;
          }
        }
      }
    }
    .shop-distance {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      .shop-give {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        .start-give {
          padding-right: 4px;
        }
      }
      .time-distance {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 4px;
        color: #A5A5A5;
        .sign {
          padding: 0 4px;
        }
      }
    }
    .label-list {
      ul {
        display: flex;
        justify-content: flex-start;
        padding: 0;
        font-size: 12px;
      }
      li {
        list-style: none;
        padding: 2px 4px;
        margin-right: 4px;
        border-radius: 6px;
      }
      li:nth-child(1) {
        border: 1px solid #e83227;
        color: #e83227;
      }
      li:nth-child(2) {
        border: 1px solid #EF7B2D;
        color: #EF7B2D;
      }
      li:nth-child(3) {
        border: 1px solid #06c25f;
        color: #06c25f;
      }
      li:nth-child(4) {
        border: 1px solid #f68812;
        color: #f68812;
      }
      li:nth-child(5) {
        border: 1px solid #a5a5a5;
        color: #a5a5a5;
      }
    }
    .evaluate-content {
      display: flex;
      justify-content: flex-start;
      .el-icon-news {
        margin-right: 6px;
        font-size: 12px;
      }
      span {
        color: #a5a5a5;
        font-size: 12px;
      }
    }
    .shop-img {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 130px;
      border-bottom: 1px solid #EAEAED;
      img {
        width: 100px;
        height: 100px;
      }
    }
    .goods-detail {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
      .goods-price {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        .conclude,.price,.original-price {
          margin-right: 6px;
        }
        .conclude {
          padding: 2px;
          background-color: #E83227;
          color: #fff;
          font-size: 14px;
        }
        .price {
          color: #E83227;
          font-size: 15px;
        }
        .original-price {
          text-decoration: line-through;
          color: #a5a5a5;
          font-size: 14px;
        }
      }
    }
    .d-two {
      padding-bottom: 10px;
    }
    .floor {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 40px;
      border-top: 1px solid #EAEAED;
      color: #a5a5a5;
      font-size: 14px;
    }
  }
  //tpl-9000 导航菜单
  .tpl-9000{
  .menu_item_box{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
      .menu_img{
        margin: 0 auto;
        width: 40px;
        height: 40px;
        background: #fff;
        border-radius: 50%;
        line-height: 0; 
      
      }
  }

  }
//tpl-9001 详情
// .tpl-9001{
  
// }


  // tpl-23 单列单张大图模块
  .tpl-23 {
    height: 130px;
  }
  // tpl-24 左一右二图片模块
  .tpl-24 {
    height: 130px;
    .right .layout-item { height: 50% }
  }
  // tpl-25 左二右一图片模块
  .tpl-25 {
    height: 130px;
    .left .layout-item { height: 50% }
  }
  // tpl-26 左二右一图片模块
  .tpl-26 {
    height: 130px;
    .layout-item {
      float: left;
      width: percentage(1/3)
    }
    @include layout-item-neighbor;
  }
  // tpl-27 五列单行小图模块
  .tpl-27 {
    height: 64px;
    .layout-item {
      float: left;
      width: percentage(1/5);
    }
    @include layout-item-neighbor;
  }
  // tpl-28 轮播图模块
  .tpl-28 {
    height: 150px;
    .swiper-container {
      width: 100%;
      height: 100%;
    }
  }
  // tpl-29 四列单行图片模块
  .tpl-29 {
    @extend .tpl-27;
    height: 105px;
    .layout-item { width: percentage(1/4) }
    .no-image { background-size: 70% }
  }
  // tpl-30 标题或间隔性模块
  .tpl-30 {
    height: 40px;
    .no-image { background-size: 17.5% 75% }
  }
  // tpl-31 四列单行小图片模块
  .tpl-31 {
    @extend .tpl-29;
    height: 80px;
  }
  // tpl-32 左一右二竖排模板
  .tpl-32 {
    height: 125px;
    .layout-item { width: 50%; float: left }
    .left .layout-item { width: 100% }
    .right .no-image {
      background-size: 75% auto;
    }
  }
  // tpl-37 商品模块
  .tpl-37 {
    //height: 242px;
    margin-top: 10px;
    .layout-main {
      display: flex;
      justify-content: space-around;
    }
    .layout-item {
      width: 47%;
      height: 100%;
    }
    .image-goods {
      position: relative;
      width: 100%;
      &:before {
        content: "";
        display: inline-block;
        padding-bottom: 100%;
        width: .1px;
        vertical-align: middle;
      }
      img {
        position: absolute;
        width: 100%;
        height: 100%;
      }
    }
    .name-goods {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      min-height: 36px;
    }
    .price-goods {
      color: #f42424;
      margin-top: 5px;
      padding-top: 5px;
      border-top: 1px dashed #ccc;
    }
  }
  // tpl-42 文本模块
  .tpl-0,
  .tpl-42 {
    height: 40px;
    .layout-item {
      line-height: 40px;
      padding: 0 10px;
    }
  }
}
